package com.koron.order.experiment.mapper;

import com.koron.order.experiment.bean.po.ExperimentEquipmentSignPo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (ExperimentEquipmentSign)表数据库访问层
 *
 * @author zhouj
 * @since 2021-11-08 17:51:49
 */
public interface ExperimentEquipmentSignMapper {

    int insertOrUpdate(ExperimentEquipmentSignPo experimentEquipmentSign);

    int insertOrUpdateBatch(@Param("list") List<ExperimentEquipmentSignPo> experimentEquipmentSignList);

    int insert(ExperimentEquipmentSignPo experimentEquipmentSign);

    int insertBatch(@Param("list") List<ExperimentEquipmentSignPo> experimentEquipmentSignList);

    int update(ExperimentEquipmentSignPo experimentEquipmentSign);

    int deleteById(String id);

    int deleteByExperimentEquipmentId(String experimentEquipmentId);

    ExperimentEquipmentSignPo queryById(String id);

    List<ExperimentEquipmentSignPo> queryList(ExperimentEquipmentSignPo experimentEquipmentSign);

    int updateByExperimentEquipmentId(ExperimentEquipmentSignPo experimentEquipmentSign);

    List<ExperimentEquipmentSignPo> queryByExperimentEquipmentId(String experimentEquipmentId);
}